RANDOM_PCT_RECORD_LIST Function
Syntax
Recno_List as C = random_pct_record_list(N percent [,C filter])
Arguments
- percent
The percent of records to return. Numeric
- filter
Optional. Default = ".T." (All records). A character filter expression that evaluates to a logical value and selects records from the table.
Returns
- Recno_List
The returned list of record numbers. Numeric
Description
Fetches a list of record numbers for the current open DBF table.
Discussion
The RANDOM_PCT_RECORD_LIST() function returns a space delimited list of record numbers from the currently open table.
Example
? random_pct_record_list(50) =15 12 19 4 11 24 49 3 45
See Also